All Questions
4 questions
7votes
3answers
2kviews
Any advantage of using wp_scripts and is_IE when enqueuing scripts
I read on the WP docs, which pointed to this gist that the correct way to enqueue styles for IE is by using the $wp_styles. I'm guessing that this would be true then for scripts as well. Take these ...
0votes
0answers
219views
Put dynamic Javascript in header after doing operations
I want to write a plugin that enables a function to be put in my theme in various places. Then I would like to collect the parameters called and generate a Javascript and put it into my site <head&...
2votes
2answers
25kviews
Move all the JS files to the bottom|footer, the right way
In order to speedup my site load and prevent scripts from render the page I'm trying to move all the possible scripts (meaning JS files) from head to footer. After read and do some research I made ...
9votes
2answers
29kviews
force enqueue script to be first in order of prominence
I have a few scripts which are being enqueued, the problem is that I want to force the order of prominece to which these scripts are loaded. There is one in particular which is loaded from a plugin ...